package com.zenithmind.note.pojo.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import jakarta.validation.constraints.NotNull;
import java.time.LocalDateTime;

/**
 * 笔记分享传输对象
 */
@Data
@Schema(name = "笔记分享参数", description = "笔记分享参数")
public class NoteShareDTO {
    
    @Schema(description = "分享ID")
    private String id;
    
    @Schema(description = "笔记ID")
    @NotNull(message = "笔记ID不能为空")
    private String noteId;
    
    @Schema(description = "分享类型：0-链接分享，1-朋友圈，2-微信好友，3-QQ，4-微博等")
    @NotNull(message = "分享类型不能为空")
    private Integer shareType;
    
    @Schema(description = "过期时间，NULL表示永不过期")
    private LocalDateTime expireTime;
} 